package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Evan on 2015/1/12 22:24.
 * Email evan.wan@ndpmedia.com
 */
@Setter
@Getter
@NoArgsConstructor
@Table("ad_publish_appaccount_cpa")
public class AdPublishAppAccountCPA implements Serializable {
    private static final long serialVersionUID = -2990936636540332710L;

    /**
     * user_id
     */
    @Column("user_id")
    private String userId;
    /**
     * connection_object_id
     */
    @Column(value = "connection_object_id", type = ColumnType.Long)
    private Long connectionObjectId;
    /**
     * product_configuration_id
     */
    @Column(value = "product_configuration_id", type = ColumnType.Long)
    private Long productConfigurationId;
    /**
     * fb_account_id
     */
    @Column(value = "fb_account_id", type = ColumnType.Long)
    private Long fbAccountId;
    /**
     * is_support_cpa
     */
    @Column(value = "is_support_cpa", type = ColumnType.Boolean)
    private Boolean isSupportCPA=false;

    public void setSupportCPA(Boolean supportCPA) {
        isSupportCPA = supportCPA;
    }
    public void setIsSupportCPA(Boolean supportCPA) {
        isSupportCPA = supportCPA;
    }
}
